import request from '@/utils/request'
/**
 * 
 * @param 获取左侧菜单分类数据 limit 
 * @returns Promise
 */
export const findBrand = limit => request('/home/brand','get',{limit})

/**
 *  获取轮播图数据
 * @returns Promise
 */
export const findBanner = () => request('/home/banner','get')

/**
 * 新鲜好物 
 */
export const findNew = () => request('/home/new','get')

/**
 * 人气推荐
 */
export const findHot = () => request('/home/hot','get')

/**
 * 商品区块
 * @returns Promise
 */
 export const findGoods = () => request('/home/goods','get')

/**
 * 最新专题
 */
export const findSpecial = () => request('/home/special','get')